#define _CRT_SECURE_NO_WARNINGS 1

#define my_offsetof(Struct, Name) (size_t)&(((Struct *) 0)->Name))

#include <stdio.h>

struct address {
	char name[50];
	char street[50];
	int phone;
};

int main()
{
	printf("%d", my_offsetof(struct address, name));
	return 0;
}